package cn.tedu.submarine;

import java.util.Random;

public class MineSubmarine {
    int width;
    int height;
    int x;
    int y;
    int speed;
    MineSubmarine(){
        width=63;
        height=19;
        x=-width;
        Random rand = new Random();
        y=rand.nextInt(479-height-150+1)+150;
        speed = rand.nextInt(3)+1;
    }
    void move(){
        System.out.println("水雷潜艇移动");
    }
}
